package com.ecr.hub.service.user;

import java.util.List;

import com.ecr.hub.ApplicationException;
import com.ecr.hub.model.user.Role;
import com.ecr.hub.model.user.User;

public interface IUserManager {

	public List<User> getAllList() throws ApplicationException;

	public void create(User user) throws ApplicationException;

	public void update(User user) throws ApplicationException;

	public void delete(User user) throws ApplicationException;
	
	public List<Role> getAllRoles() throws ApplicationException;
	
	public User connect(String login, String password) throws ApplicationException;
	
	public void completeUserRole(User user) throws ApplicationException;
	
	public void updatePassword(User user)  throws ApplicationException;
	
	public void disconnect(User user)  throws ApplicationException;
	
	public void force(User user)  throws ApplicationException;
}
